@import '~antd/dist/antd.css';
/* @import "~antd/lib/style/themes/default.less"; */

html,
body,
#root {
  height: 100%;
  overflow: hidden;
}

.App {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.main {
  display: flex;
  height: calc(100% - 56px);
}

.header {
  position: relative;
  z-index: 201;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  align-items: center;
  height: 56px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  justify-content: end;
}

.left {
  width: 366px;
  height: 100%;
  box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.1);

  .anticon {
    margin-left: 20px !important;
  }
}

.ant-tabs {
  height: 100% !important;
}

.ant-tabs-tab {
  padding: 20px 0px !important;
}

.middle {
  flex: 1;
  background: #f3f2f2;
}

.right {
  width: 310px;
  box-shadow: -2px 0px 4px 0px rgba(0, 0, 0, 0.1);

  .ant-form-item-control {
    text-align: end;
  }

  .ant-select-single {
    text-align: center;
  }

  .ant-input,
  .ant-input-number,
  .ant-select-selector,
  .ant-select:not(.ant-select-customize-input) .ant-select-selector {
    background-color: #f6f6f6;
  }

  .ant-input-number-sm {
    width: 55px !important;
  }
}

:deep .ant-tabs-content {
  height: 100% !important;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
// ::-webkit-scrollbar-track {
//   box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
//   -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
//   border-radius: 10px;
//   background-color: #F5F5F5;
// }

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
  background-color: #c8c8c8;
}